home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / circuits / pcb-1.000 / pcb-1 / pcb-1.3 / Pcb.ad.raw < prev    next >
Text File  |  1995-03-01  |  15KB  |  373 lines

  1. !
  2. !                            COPYRIGHT
  3. !
  4. !  PCB, interactive printed circuit board design
  5. !  Copyright (C) 1994,1995 Thomas Nau
  6. !
  7. !  This program is free software; you can redistribute it and/or modify
  8. !  it under the terms of the GNU General Public License as published by
  9. !  the Free Software Foundation; either version 2 of the License, or
  10. !  (at your option) any later version.
  11. !
  12. !  This program is distributed in the hope that it will be useful,
  13. !  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. !  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. !  GNU General Public License for more details.
  16. !
  17. !  You should have received a copy of the GNU General Public License
  18. !  along with this program; if not, write to the Free Software
  19. !  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. !
  21. !  Contact addresses for paper mail and Email:
  22. !  Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
  23. !  Thomas.Nau@rz.uni-ulm.de
  24. !
  25. !  RCS: $Header: Pcb.ad.raw,v 2.4 94/10/29 17:40:01 nau Exp $
  26. !
  27.  
  28. !---------------------------------------------------------------------------
  29. ! resources as defined by pcb
  30. !
  31. .pcb.absoluteGrid:         On
  32. .pcb.allDirectionLines:    Off
  33. .pcb.backupInterval:       60
  34. .pcb.charactersPerLine:    78
  35. .pcb.connectedColor:       green
  36. .pcb.crosshairColor:       red
  37. .pcb.elementColor:         black
  38. .pcb.elementCommand:       M4PATH="%p";export M4PATH;echo 'include(%f)' | m4
  39. .pcb.elementPath:          .:CIRCUITDIR:PACKAGEDIR
  40. .pcb.fileCommand:          cat %f
  41. .pcb.filePath:             .
  42. .pcb.fontCommand:          M4PATH="%p";export M4PATH;echo 'include(%f)' | m4
  43. .pcb.fontFile:             FONTFILENAME
  44. .pcb.fontPath:             .:PCBLIBDIR
  45. .pcb.grid:                 50
  46. .pcb.layerColor1:          RoyalBlue3
  47. .pcb.layerColor2:          DodgerBlue4
  48. .pcb.layerColor3:          burlywood4
  49. .pcb.layerColor4:          brown4
  50. .pcb.layerColor5:          PaleGreen4
  51. .pcb.layerColor6:          OrangeRed3
  52. .pcb.layerColor7:          turquoise4
  53. .pcb.layerColor8:          forest green
  54. .pcb.layerGroups:          1:2:3:4:5:6:7:8
  55. .pcb.lineThickness:        10
  56. .pcb.media:                a4
  57. .pcb.mediaMarginBottom:    500
  58. .pcb.mediaMarginLeft:      500
  59. .pcb.offLimitColor:        gray80
  60. .pcb.paperWidth:           8268
  61. .pcb.pinColor:             gray30
  62. .pcb.pinoutFont:           -*-courier-medium-r-normal-*-12-*-*-*-*-*-*-*
  63. .pcb.pinoutNameLength:     8
  64. .pcb.pinoutOffsetX:        100
  65. .pcb.pinoutOffsetY:        100
  66. .pcb.pinoutTextOffsetX:    50
  67. .pcb.pinoutTextOffsetY:    0
  68. .pcb.pinoutZoom:           2
  69. .pcb.printCommand:         | lpps
  70. .pcb.resetAfterElement:    Off
  71. .pcb.raiseLogWindow:       On
  72. .pcb.ringBellWhenFinished: Off
  73. .pcb.saveCommand:          cat - > %f
  74. .pcb.saveInTMP:            On
  75. .pcb.saveLastCommand:      Off
  76. .pcb.selectedColor:        cyan
  77. .pcb.size:                 9000x5000
  78. .pcb.useLogWindow:         On
  79. .pcb.viaColor:             gray50
  80. .pcb.viaThickness:         40
  81. .pcb.viaDrillingHole:      20
  82. .pcb.volume:               100
  83. .pcb.zoom:                 3
  84.  
  85. !---------------------------------------------------------------------------
  86. ! resources that are common to all 'subwindows'
  87. !
  88. .pcb*Command.highlightThickness:        2
  89. .pcb*Command.shapeStyle:                oval
  90. .pcb*defaultButton.borderWidth:         2
  91. .pcb*defaultButton.highlightThickness:  3
  92. .pcb*font:                              -*-courier-bold-r-*-*-12-*-*-*-*-*-*-*
  93. .pcb*Label.borderWidth:                 0
  94. .pcb*Label.justify:                     center
  95. .pcb*MenuButton.shapeStyle:             oval
  96. .pcb*SimpleMenu*justify:                left
  97. .pcb*Toggle.borderWidth:                1
  98.  
  99. .pcb*defaultButton.accelerators:  #override \
  100.   <Key>Return:            set() notify() unset() \n
  101. .pcb*cancelButton.accelerators:  #override \
  102.   <Key>Escape:            set() notify() unset() \n
  103.  
  104. !---------------------------------------------------------------------------
  105. ! toplevel shell resources
  106. !
  107. .pcb.baseTranslations: #override \
  108.   <Message>WM_PROTOCOLS:   Quit() \n
  109.  
  110. !---------------------------------------------------------------------------
  111. ! resources used by control panel
  112. !
  113. .pcb*controlMasterForm.borderWidth:      3
  114. .pcb*controlMasterForm.Form.borderWidth: 0
  115. .pcb*controlMasterForm*Label.width:      80
  116. .pcb*controlMasterForm*Toggle.font:      6x9
  117. .pcb*controlMasterForm*Toggle.width:     80
  118.  
  119. .pcb*controlMasterForm.currentSelection*layer1.accelerators: #override \
  120.   None<Key>1:  set() notify() Display(ClearAndRedraw) \n
  121. .pcb*controlMasterForm.currentSelection*layer2.accelerators: #override \
  122.   None<Key>2:  set() notify() Display(ClearAndRedraw) \n
  123. .pcb*controlMasterForm.currentSelection*layer3.accelerators: #override \
  124.   None<Key>3:  set() notify() Display(ClearAndRedraw) \n
  125. .pcb*controlMasterForm.currentSelection*layer4.accelerators: #override \
  126.   None<Key>4:  set() notify() Display(ClearAndRedraw) \n
  127. .pcb*controlMasterForm.currentSelection*layer5.accelerators: #override \
  128.   None<Key>5:  set() notify() Display(ClearAndRedraw) \n
  129. .pcb*controlMasterForm.currentSelection*layer6.accelerators: #override \
  130.   None<Key>6:  set() notify() Display(ClearAndRedraw) \n
  131. .pcb*controlMasterForm.currentSelection*layer7.accelerators: #override \
  132.   None<Key>7:  set() notify() Display(ClearAndRedraw) \n
  133. .pcb*controlMasterForm.currentSelection*layer8.accelerators: #override \
  134.   None<Key>8:  set() notify() Display(ClearAndRedraw) \n
  135.  
  136. !---------------------------------------------------------------------------
  137. ! resources used by the file select box
  138. !
  139. .pcb*selectMasterForm*current.vertDistance: 20
  140. .pcb*selectMasterForm*input.width:          366
  141. .pcb*selectMasterForm*input*background:     gray90
  142. .pcb*selectMasterForm*List.verticalList:    On
  143. .pcb*selectMasterForm.Viewport.height:      240
  144. .pcb*selectMasterForm.Viewport.width:       180
  145.  
  146. .pcb*selectMasterForm.defaultButton.accelerators:  #override \
  147.   <Key>Return:   set() notify() unset() \n\
  148.   <Btn1Up>(2):   set() notify() unset() \n
  149.  
  150. !---------------------------------------------------------------------------
  151. ! resources used by the file select box
  152. !
  153. .pcb*sizeMasterForm*Label.vertDistance:    10
  154.  
  155.  
  156. !---------------------------------------------------------------------------
  157. ! resources used by the menus
  158. !
  159. .pcb*header.foreground:    red
  160.  
  161. !---------------------------------------------------------------------------
  162. ! resources of the logging window
  163. !
  164. .pcb.log.geometry:         400x100
  165. .pcb.log.baseTranslations: #override \
  166.   <Message>WM_PROTOCOLS:   Bell() \n
  167.  
  168. !---------------------------------------------------------------------------
  169. ! resources of the print selection window
  170. !
  171. .pcb*printMasterForm*Command.width:         80
  172. .pcb*printMasterForm*comment.vertDistance:  20
  173. .pcb*printMasterForm*input.width:           150
  174. .pcb*printMasterForm*Panner.background:     gray90
  175. .pcb*printMasterForm*Toggle.width:          80
  176.  
  177. !---------------------------------------------------------------------------
  178. ! resources of the pinout window
  179. !
  180. .pcb*pinoutMasterForm*viewport.height:  240
  181. .pcb*pinoutMasterForm*viewport.width:   320
  182.  
  183. .pcb*pinoutMasterForm.dismiss.accelerators: #override \
  184.   <Message>WM_PROTOCOLS:  set() notify() unset() \n
  185.  
  186. .pcb*pinoutMasterForm.viewport.horizontal.accelerators: #override \
  187.   !Mod1 Ctrl<Key>Left:    StartScroll(Backward) \
  188.                           NotifyScroll(FullLength) \
  189.                           EndScroll() \n\
  190.   !Mod1 Ctrl<Key>Right:   StartScroll(Forward) \
  191.                           NotifyScroll(FullLength) \
  192.                           EndScroll() \n
  193.  
  194. .pcb*pinoutMasterForm.viewport.vertical.accelerators: #override \
  195.   !Mod1 Ctrl<Key>Up:      StartScroll(Backward) \
  196.                           NotifyScroll(FullLength) \
  197.                           EndScroll() \n\
  198.   !Mod1 Ctrl<Key>Down:    StartScroll(Forward) \
  199.                           NotifyScroll(FullLength) \
  200.                           EndScroll() \n
  201.  
  202. !---------------------------------------------------------------------------
  203. ! resources used by statuslines and input field
  204. !
  205. .pcb.masterForm*cursorPosition.fromHoriz: 30
  206. .pcb.masterForm*cursorPosition.justify:   center
  207. .pcb.masterForm*cursorPosition.width:     100
  208. .pcb.masterForm*messageText.foreground:   red
  209. .pcb.masterForm*inputField*borderWidth:   0
  210.  
  211. !---------------------------------------------------------------------------
  212. ! resources used by the mode-selection area
  213. !
  214. .pcb*masterForm.Label.width:              100
  215. .pcb*masterForm.line.horizDistance:       2
  216. .pcb*masterForm.line.vertDistance:        10
  217. .pcb*masterForm.mirror.horizDistance:     2
  218. .pcb*masterForm.mirror.vertDistance:      10
  219. .pcb*masterForm.polygon.horizDistance:    2
  220. .pcb*masterForm.rectangle.horizDistance:  2
  221. .pcb*masterForm.rectangle.vertDistance:   10
  222. .pcb*masterForm.remove.vertDistance:      10
  223. .pcb*masterForm.rotate.horizDistance:     2
  224. .pcb*masterForm.rotate.vertDistance:      10
  225. .pcb*masterForm.via.vertDistance:         10
  226.  
  227. !---------------------------------------------------------------------------
  228. ! resources used by the output area
  229. !
  230. .pcb.masterForm*output*background:        gray95
  231. .pcb*masterForm.buffer.horizDistance:     2
  232. .pcb.masterForm.viewport.height:          600
  233. .pcb.masterForm.viewport.width:           825
  234.  
  235. .pcb.masterForm.viewport.horizontal.accelerators: #override \
  236.   !Mod1 Ctrl<Key>Left:    StartScroll(Backward) \
  237.                           NotifyScroll(FullLength) \
  238.                           EndScroll() \n\
  239.   !Mod1 Ctrl<Key>Right:   StartScroll(Forward) \
  240.                           NotifyScroll(FullLength) \
  241.                           EndScroll() \n
  242.  
  243. .pcb.masterForm.viewport.horizontal.baseTranslations: #override \
  244.   <Btn2Down>:             StartScroll(Continuos) MoveThumb() \n\
  245.   <Btn2Motion>:           MoveThumb() \n\
  246.   <Btn2Up>:               NotifyThumb() \n
  247.  
  248. .pcb.masterForm.viewport.vertical.accelerators: #override \
  249.   !Mod1 Ctrl<Key>Up:      StartScroll(Backward) \
  250.                           NotifyScroll(FullLength) \
  251.                           EndScroll() \n\
  252.   !Mod1 Ctrl<Key>Down:    StartScroll(Forward) \
  253.                           NotifyScroll(FullLength) \
  254.                           EndScroll() \n
  255.  
  256. .pcb.masterForm.viewport.vertical.baseTranslations: #override \
  257.   <Btn2Down>:             StartScroll(Continuos) \
  258.                           MoveThumb() \n\
  259.   <Btn2Motion>:           MoveThumb() \n\
  260.   <Btn2Up>:               NotifyThumb() \n
  261.  
  262. !---------------------------------------------------------------------------
  263. ! translations of the output area
  264. !
  265. .pcb.masterForm*output.baseTranslations:   #override \
  266.   <Key>Escape:            Mode(None) \n\
  267.   <Key>space:             Mode(Notify) \n\
  268.   <Key>colon:             Command() \n\
  269.   !Shift<Key>BackSpace:   Connection(Reset) \
  270.                           Unselect(All) \
  271.                           Connection(Find) \
  272.                           Select(Connection) \
  273.                           RemoveSelected() \
  274.                           Display(Redraw) \n\
  275.   None<Key>BackSpace:     Mode(Save) \
  276.                           Mode(Remove) \
  277.                           Mode(Notify) \
  278.                           Mode(Restore) \n\
  279.   None<Key>Insert:        Mode(Save) \
  280.                           Mode(Polygon) \
  281.                           Polygon(InsertPoint) \
  282.                           Mode(Restore) \n\
  283.   !Shift Ctrl<Key>Insert: Mode(Save) \
  284.                           Mode(Polygon) \
  285.                           Polygon(RemovePoint) \
  286.                           Mode(Restore) \n\
  287.   \
  288.   None<Key>c:        Display(Center) \n\
  289.   !Shift<Key>c:      Connection(Reset) \
  290.                      Display(Redraw) \n\
  291.   None<Key>d:        Display(Pinout) \n\
  292.   None<Key>f:        Connection(Find) \n\
  293.   None<Key>g:        SetValue(Grid, +5) \n\
  294.   !Shift<Key>g:      SetValue(Grid, -5) \n\
  295.   None<Key>l:        SetValue(LineSize, +5) \n\
  296.   !Shift<Key>l:      SetValue(LineSize, -5) \n\
  297.   None<Key>n:        ChangeName(Object) \n\
  298.   None<Key>p:        Polygon(PreviousPoint) \n\
  299.   !Shift<Key>p:      Polygon(Close) \n\
  300.   None<Key>r:        Display(ClearAndRedraw) \n\
  301.   None<Key>s:        ChangeSize(Object, 5) \n\
  302.   !Shift<Key>s:      ChangeSize(Object, -5) \n\
  303.   !Mod1<Key>s:       Change2ndSize(Object, 5) \n\
  304.   !Mod1 Shift<Key>s: Change2ndSize(Object, -5) \n\
  305.   None<Key>u:        Undo() \n\
  306.   !Shift Ctrl<Key>u: Undo(ClearList) \n\
  307.   None<Key>v:        SetValue(ViaSize, +5) \n\
  308.   !Shift<Key>v:      SetValue(ViaSize, -5) \n\
  309.   !Mod1<Key>v:       SetValue(ViaDrillingHole, +5) \n\
  310.   !Mod1 Shift<Key>v: SetValue(ViaDrillingHole, -5) \n\
  311.   !Ctrl<Key>x:       PasteBuffer(Clear) \
  312.                      PasteBuffer(AddSelected) \
  313.                      Mode(PasteBuffer) \n\
  314.   !Shift Ctrl<Key>x: PasteBuffer(Clear) \
  315.                      PasteBuffer(AddSelected) \
  316.                      RemoveSelected() \
  317.                      Mode(PasteBuffer) \n\
  318.   None<Key>z:        SetValue(Zoom, -1) \n\
  319.   !Shift<Key>z:      SetValue(Zoom, +1) \n\
  320.   \
  321.   !Shift<Key>1: PasteBuffer(1) \n\
  322.   !Shift<Key>2: PasteBuffer(2) \n\
  323.   !Shift<Key>3: PasteBuffer(3) \n\
  324.   !Shift<Key>4: PasteBuffer(4) \n\
  325.   !Shift<Key>5: PasteBuffer(5) \n\
  326.   \
  327.   None<Key>Up:      MovePointer(0, -1) \n\
  328.   !Shift<Key>Up:    MovePointer(0, -10) \n\
  329.   None<Key>Down:    MovePointer(0, 1) \n\
  330.   !Shift<Key>Down:  MovePointer(0, 10) \n\
  331.   None<Key>Right:   MovePointer(1, 0) \n\
  332.   !Shift<Key>Right: MovePointer(10, 0) \n\
  333.   None<Key>Left:    MovePointer(-1, 0) \n\
  334.   !Shift<Key>Left:  MovePointer(-10, 0) \n\
  335.   \
  336.   None<Key>F1:   Mode(Via) \n\
  337.   None<Key>F2:   Mode(Line) \n\
  338.   None<Key>F3:   Mode(PasteBuffer) \n\
  339.   !Shift<Key>F3: PasteBuffer(Rotate, 1) \n\
  340.   None<Key>F4:   Mode(Rectangle) \n\
  341.   None<Key>F5:   Mode(Text) \n\
  342.   None<Key>F6:   Mode(Polygon) \n\
  343.   \
  344.   None<Btn1Down>:        Mode(Notify) \n\
  345.   !Shift Ctrl<Btn1Down>: Mode(Save) \
  346.                          Mode(Remove) \
  347.                          Mode(Notify) \
  348.                          Mode(Restore) \n\
  349.   \
  350.   None<Btn2Down>:        Mode(Save) \
  351.                          Mode(Move) \
  352.                          Mode(Notify) \n\
  353.   None<Btn2Up>:          Mode(Notify) \
  354.                          Mode(Restore) \n\
  355.   !BTNMOD<Btn2Down>:     Mode(Save) \
  356.                          Mode(Copy) \
  357.                          Mode(Notify) \n\
  358.   !BTNMOD<Btn2Up>:       Mode(Notify) \
  359.                          Mode(Restore) \n\
  360.   \
  361.   None<Btn3Down>:        Select(ToggleObject) \n\
  362.   !BTNMOD<Btn3Down>:     Mode(Save) \
  363.                          Mode(None) \
  364.                          Select(Block) \n\
  365.   !BTNMOD<Btn3Up>:       Select(Block) \
  366.                          Mode(Restore) \n\
  367.   !Shift Mod1<Btn3Down>: Mode(Save) \
  368.                          Mode(None) \
  369.                          Unselect(Block) \n\
  370.   !Shift Mod1<Btn3Up>:   Unselect(Block) \
  371.                          Mode(Restore) \n
  372.  
  373.